package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 库存盘点对象 d_stocktaking
 * 
 * @author lsc
 * @date 2025-04-03
 */
public class DStocktaking extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 盘点单号 */
    private Long id;

    /** 菜品类型ID */
    @Excel(name = "菜品类型ID")
    private Long categoriesId;

    /** 制单人 */
    @Excel(name = "制单人")
    private String zname;

    /** 制单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "制单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date zDate;

    /** 审核人员ID */
    @Excel(name = "审核人员ID")
    private Long uid;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCategoriesId(Long categoriesId) 
    {
        this.categoriesId = categoriesId;
    }

    public Long getCategoriesId() 
    {
        return categoriesId;
    }
    public void setZname(String zname) 
    {
        this.zname = zname;
    }

    public String getZname() 
    {
        return zname;
    }
    public void setzDate(Date zDate) 
    {
        this.zDate = zDate;
    }

    public Date getzDate() 
    {
        return zDate;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setuDate(Date uDate) 
    {
        this.uDate = uDate;
    }

    public Date getuDate() 
    {
        return uDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoriesId", getCategoriesId())
            .append("zname", getZname())
            .append("zDate", getzDate())
            .append("uid", getUid())
            .append("uDate", getuDate())
            .append("remark", getRemark())
            .toString();
    }
}
